<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<!-- 2.新制作一个页面，要求：
	       2.1 至少包含以下元素：3个DIV,标题，5个P标签，图片，列表 
	       2.2 分别实现 id,类，标签三种方式查找以上元素 -->
	<body>
		<div id="div1" class="">
		</div>
		
		<div id="" class="">
			<h2 class="text1">标题1</h2>
			<p>第一</p>
			<p>第二</p>
			<p>第三</p>
		</div>
		
		<div id="" class="asp">			
		</div>

		<img src="" class="img_1">
		
		<select name="select1" id="select_1">
			<option value="1"></option>
		</select>
	</body>
	<script type="text/javascript">

		var a1= document.getElementById('select_1');
		console.log(a1);
		
		var a2 = document.getElementsByClassName('img_1')
		console.log(a2[0]);

		var text_1=document.getElementsByClassName('text1');
		console.log(text_1);
	
		var a3 = document.getElementsByTagName('p')
		console.log(a3);

		var a4 = document.getElementsByTagName('div')
		console.log(a4)
	</script>
</html>
